//
//  AboutViewController.m
//  zhijian
//
//  Created by lcb on 2019/1/19.
//  Copyright © 2019 lcb. All rights reserved.
//

#import "AboutViewController.h"
#import "Base.h"
#define BaseUrl @"http://124.193.187.101/aboutUs.html"
@interface AboutViewController ()

@end

@implementation AboutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self hyb_navWithLeftImage:@"back" title:@"关于我们" leftClicked:^(UIButton *sender) {
        [self.navigationController popViewControllerAnimated:YES];
    }];
    // 1.创建webview
  
    UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT)];
    // 2.1 创建一个远程URL
    NSURL *remoteURL = [NSURL URLWithString:BaseUrl];
    // 3.创建Request
    NSURLRequest *request =[NSURLRequest requestWithURL:remoteURL];
    // 4.加载网页
    [webView loadRequest:request];
    // 5.最后将webView添加到界面
    [self.view addSubview:webView];
}

@end
